package com.xuecheng.framework.exception;

import com.xuecheng.framework.model.response.ResultCode;

/**
 * @author ShengJinFeng
 * @version V1.0
 * @ClassName ExceptionCast
 * @Description (异常抛出类)
 * @date 2020/1/19 9:37
 * @since V1.0
 */
public class ExceptionCast {

    public static void cast(ResultCode resultCode){
        throw new CustomException(resultCode);
    }
}
